/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.shop.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.entity.Orderson;
import com.thinkgem.jeesite.modules.shop.dao.OrdersonDao;

/**
 * 子订单的增删改查Service
 * @author 胡善军
 * @version 2019-05-22
 */
@Service
@Transactional(readOnly = true)
public class OrdersonService extends CrudService<OrdersonDao, Orderson> {

	public Orderson get(String id) {
		return super.get(id);
	}
	
	public List<Orderson> findList(Orderson orderson) {
		return super.findList(orderson);
	}
	
	public Page<Orderson> findPage(Page<Orderson> page, Orderson orderson) {
		return super.findPage(page, orderson);
	}
	
	@Transactional(readOnly = false)
	public void save(Orderson orderson) {
		super.save(orderson);
	}
	
	@Transactional(readOnly = false)
	public void delete(Orderson orderson) {
		super.delete(orderson);
	}
	
}